package com.zhj.test.netty.dubborpc.provider;

import com.zhj.test.netty.dubborpc.common.RPCService;

/**
 * @author zhj
 */
public class RPCServiceImpl implements RPCService {
    @Override
    public String hello(String mes) {
        System.out.println("收到客户端消息: " + mes);
        if (mes != null) {
            return "服务端：已收到您的消息 客户端您的消息为【" + mes + "】";
        }
        return "服务端：已收到您的消息";
    }
}
